class UserModel {
  int? userId;
  int? deptId;
  String? userName;
  String? nickName;
  String? email;
  String? phonenumber;
  String? sex;
  String? avatar;
  String? password;
  String? status;
  String? delFlag;
  String? loginIp;
  String? loginDate;

  UserModel(
      {this.userId,
      this.deptId,
      this.userName,
      this.nickName,
      this.email,
      this.phonenumber,
      this.sex,
      this.avatar,
      this.password,
      this.status,
      this.delFlag,
      this.loginIp,
      this.loginDate});

  UserModel.fromJson(Map<String, dynamic> json) {
    userId = json['userId'];
    deptId = json['deptId'];
    userName = json['userName'];
    nickName = json['nickName'];
    email = json['email'];
    phonenumber = json['phonenumber'];
    sex = json['sex'];
    avatar = json['avatar'];
    password = json['password'];
    status = json['status'];
    delFlag = json['delFlag'];
    loginIp = json['loginIp'];
    loginDate = json['loginDate'];
  }
}
